home *** CD-ROM | disk | FTP | other *** search
- 'Create a data type to hold each part of the record
- 'These can only be defined i a module, not a form
- Type RecordData
- LastName As String
- FirstName As String
- Phone As String
- Info As String
- End Type
-
- 'Dimension an array to hold each record
- 'read from the data file.
- 'You might prefer to use a dynamic area, rather
- 'than explicitly stating the size of the array.
- Global RecordItem(10) As RecordData
-
- 'Declare a variable to hold the data file's name
- Global FileName As String
-
- 'Declare a variable to indicate a carriage return/line feed
- Global CRLF As String
-
- 'By dimensioning variables here, they are available to all
- 'procedures within the entire program.
-
-